<?php
/*
 * Copyright (C) 2010 TopCoder Inc., All Rights Reserved.
 *
 * @author akinwale
 * @version 1.0
 */
namespace protocol\translation\framework\services;

// Set the include path for the src/php/main folder
require_once('TestHelper.php');
set_include_path(get_include_path() . ";" . SRC_PATH . ";" . DEP_PATH);

// Include the test related classes
require_once('recess/lang/Library.class.php');
require_once('recess/http/ResponseCodes.class.php');
require_once('recess/lang/Object.class.php');
require_once('recess/framework/interfaces/IController.class.php');
require_once('recess/framework/AbstractController.class.php');
require_once('recess/framework/controllers/Controller.class.php');
require_once('TestHelper.php');
require_once('TopCoder_ExceptionHandling_BaseExceptionTests.php');
require_once('ConversionExceptionTests.php');
require_once('InvalidStateExceptionTests.php');
require_once('MissingMandatoryParametersExceptionTests.php');
require_once('RequestProcessingExceptionTests.php');
require_once('base/Mock_Service.php');
require_once('base/Base_ServiceTests.php');
require_once('base/SMPP_JSON_ConverterTests.php');
require_once('base/MM7_JSON_ConverterTests.php');
require_once('base/Diameter_JSON_ConverterTests.php');
require_once('DemoTests.php');
require_once('PHPUnit/Framework.php');
require_once('PHPUnit/TextUI/TestRunner.php');

/**
 * <p>
 * The unit test suite used for the PHPUnit test runner.
 * </p>
 *
 * @var the unit test suite
 */
$suite = new \PHPUnit_Framework_TestSuite();
$suite->addTestSuite('\protocol\translation\framework\services\TopCoder_ExceptionHandling_BaseExceptionTests');
$suite->addTestSuite('\protocol\translation\framework\services\ConversionExceptionTests');
$suite->addTestSuite('\protocol\translation\framework\services\InvalidStateExceptionTests');
$suite->addTestSuite('\protocol\translation\framework\services\MissingMandatoryParametersExceptionTests');
$suite->addTestSuite('\protocol\translation\framework\services\RequestProcessingExceptionTests');
$suite->addTestSuite('\protocol\translation\framework\services\base\Base_ServiceTests');
$suite->addTestSuite('\protocol\translation\framework\services\base\SMPP_JSON_ConverterTests');
$suite->addTestSuite('\protocol\translation\framework\services\base\MM7_JSON_ConverterTests');
$suite->addTestSuite('\protocol\translation\framework\services\base\Diameter_JSON_ConverterTests');
$suite->addTestSuite('\protocol\translation\framework\services\DemoTests');

\PHPUnit_TextUI_TestRunner::run($suite);

?>